﻿using BenCaoXuan.Infrastructure.Attr;
using BenCaoXuan.Infrastructure.EFCore.MySql;
using BenCaoXuan.Service.EFCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BenCaoXuan.Infrastructure.IOC
{
    [Provider_,Inject_]
    public class Sys_IOC
    {
        public readonly SysDepartmentPost_EFCore _sysDepartmentPost_EFCore;
        public readonly SysDepartment_EFCore _sysDepartment_EFCore;
        public readonly SysDictionary_EFCore _sysDictionary_EFCore;
        public readonly SysPost_EFCore _sysPost_EFCore;
        public readonly SysRight_EFCore _sysRight_EFCore;

        public Sys_IOC(
           SysDepartment_EFCore sysDepartment_EFCore,
           SysDictionary_EFCore sysDictionary_EFCore,
           SysPost_EFCore sysPost_EFCore,
           SysDepartmentPost_EFCore sysDepartmentPost_EFCore,
           SysRight_EFCore sysRight_EFCore
            )
        {
            _sysDepartmentPost_EFCore = sysDepartmentPost_EFCore;
            _sysDepartment_EFCore = sysDepartment_EFCore;
            _sysDictionary_EFCore = sysDictionary_EFCore;
            _sysPost_EFCore = sysPost_EFCore;
            _sysRight_EFCore = sysRight_EFCore;
        }
    }
}
